package com.feng.timu.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 * 问题题目
 * </p>
 *
 * @author feng
 * @since 2023-03-21 15:34:38
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("el_qu")
@ApiModel(value = "Qu对象", description = "问题题目")
public class Qu {

    @ApiModelProperty("题目ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty("题目类型")
    @TableField("qu_type")
    private Integer quType;

    @ApiModelProperty("1普通,2较难")
    @TableField("level")
    private Integer level;

    @ApiModelProperty("题目图片")
    @TableField("image")
    private String image;

    @ApiModelProperty("题目内容")
    @TableField("content")
    private String content;

    @ApiModelProperty("创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty("更新时间")
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty("题目备注")
    @TableField("remark")
    private String remark;

    @ApiModelProperty("整题解析")
    @TableField("analysis")
    private String analysis;

    @ApiModelProperty("逻辑删除，1删除，0没删除")
    @TableLogic
    private Integer deleted;

}
